x86: Fix reboot failure after S3
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 29 May 2008 08:42:59 +0000 (09:42 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 29 May 2008 08:42:59 +0000 (09:42 +0100)
commit9d5051f32bb154d62030084e44c7bcd4662d5395
tree57da4bece656754675a129e8fa484b1f8f4c8a2c
parenta37a9008c85687381b602cf2fe3841414ff7ef20
x86: Fix reboot failure after S3

"warm reset vector" is used to start APs. At booting time, it is set
by BP, and cleared after all APs have started. When do S3, similar work
need to do. However, when enable non-boot CPUs after S3, Xen just sets
this vector, but forgets to clear it after APs startup.

Signed-off-by: Huacai Chen <huacai.chen@intel.com>
xen/arch/x86/smpboot.c